package cn.bandeqing.order.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
public class OrderCreateReq implements Serializable {

    /**
     * 订单ID
     */
//    @Id
//    private Long orderId;

    private String customerName;

    private String customerPhone;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp serviceTime;

    private String startAddress;

    private Double startAddressLng;

    private Double startAddressLat;

    private String newAddress;

    private Double newAddressLng;

    private Double newAddressLat;

}
